package com.jucai.pppeiyouclient.bean;

/**
 * Created by Kuky on 2017-04-26.
 */

public class CityBean implements Comparable<CityBean> {

    /**
     * area_id : 36
     * area_shou : B
     * area_name : 北京市
     * area_hot : 1
     */

    private String area_id;
    private String area_shou;
    private String area_name;
    private String area_hot;

    @Override
    public String toString() {
        return "CityBean{" +
                "area_id='" + area_id + '\'' +
                ", area_shou='" + area_shou + '\'' +
                ", area_name='" + area_name + '\'' +
                ", area_hot='" + area_hot + '\'' +
                '}';
    }

    public String getArea_id() {
        return area_id;
    }

    public void setArea_id(String area_id) {
        this.area_id = area_id;
    }

    public String getArea_shou() {
        return area_shou;
    }

    public void setArea_shou(String area_shou) {
        this.area_shou = area_shou;
    }

    public String getArea_name() {
        return area_name;
    }

    public void setArea_name(String area_name) {
        this.area_name = area_name;
    }

    public String getArea_hot() {
        return area_hot;
    }

    public void setArea_hot(String area_hot) {
        this.area_hot = area_hot;
    }

    @Override
    public int compareTo(CityBean cityBean) {
        return area_shou.compareToIgnoreCase(cityBean.getArea_shou());
    }
}
